<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">

<!-- 
 * Simplex Admin Template - Version 1.0
 *
 * Copyright 2011, Prosoftware.pl Dominik Cwiklik
 * @see http://www.prosoftware.pl/simplex-admin-template/
 * @license MIT http://www.opensource.org/licenses/mit-license.php
 *
 * Includes jQuery | http://jquery.com/ | Copyright 2011, John Resig | Dual licensed under the MIT or GPL Version 2 licenses.
 * Includes Uni-form | http://sprawsm.com/uni-form/ | Copyright (c) 2010, Dragan Babic | Released under the MIT License.
 * Includes Facebox | http://defunkt.io/facebox/ | Copyright (c) 2007/2008 Chris Wanstrath  | Released under the MIT License.
 *
 * Date: Fri Mar 25 00:29:24 2011
-->

<head>
	<title>Zabij.pl :: ADMIN</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="<?php echo View::getPath()."css/simplex.pack-default.css"; ?>" media="screen" />
</head>

<body>

<div id="container" class="use-sidebar">

        <div id="header">

                <div id="header-right">
                        <ul class="clearfix">
                            <li class="first">Zalogowano jako <a href="#"><?php echo UserModel::getLogin (); ?></a></li>
                                <li class="inside"><a href="#">Ustawienia</a></li>
                                <li class="inside"><a href="#">Wiadomości</a><span class="hotCount"><a href="#" title="You have 4 unread messages.">4</a></span></li>
                                <li class="last"><a href="index.php?controller=user&action=logout">Wyloguj</a></li> 
                        </ul>
                </div>

                <div id="logo">
                        <div class="logoAsText"><a href="demo.html">Zabij.PL</a></div>
                </div> 

                <div id="top-nav">

                        <ul>
                                <li class="t"><a href="index.php?controller=admin">Home</a></li>
                                <li class="t hasChilds"><a href="">Demotywatory</a>					
                                        <ul class="top-nav-sub">
                                                <li><a href="index.php?controller=demot&action=show">Przeglądaj demotywatory</a></li>
                                                <li><a href="index.php?controller=demot&action=show_categories">Kategorie</a></li>
                                                <li><a href="index.php?controller=demot&action=comments">Komentarze</a></li>
                                        </ul>					
                                </li>
                                
                                <li class="t hasChilds"><a href="">Użytkownicy</a>					
                                        <ul class="top-nav-sub">
                                                <li><a href="index.php?controller=admin&action=users">Lista użytwkoników</a></li>
                                                <li><a href="index.php?controller=admin&action=users_history">Historia zachowań</a></li>
                                        </ul>					
                                </li>
                                <li class="t hasChilds"><a href="">System</a>					
                                        <ul class="top-nav-sub">
                                                <li><a href="forms.html">Sprawdź aktualizajce</a></li>
                                                <li><a href="forms.html">Informacje o systemie</a></li>
                                        </ul>					
                                </li>
                                <li class="t"><a href="index.php?controller=index">Frontend</a></li>
                        </ul>

                </div>

        </div>

    <?php if (flash_message::isMessage()): ?>
<div class="message" style="color:#000; margin-bottom: 5px; background-color: #FBE3E4!important; color: #8A1F11; border-color: #FBC2C4;">
    <?php echo flash_message::getMessage(); ?>
</div>
<?php endif; ?>